For a field which I know may contain “&” as a part of the data, I have also used a pre-proc. Here is an example from the PID-11 address line component:
COPY PID#11(0)[0] -> PID#11(0)[0]
pre-proc
set outVal [join $xlateInVals “&”]
set xlateOutVals
I am a relative newcomer to Cloverleaf, so if there is some reason not to do this, I welcome the comments/opinions/corrections.
Thanks